package com.ehome.poct.core.dao.entity.check;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 金标仪异常的检测数据记录
 */
@Data
@TableName(value = "test_data_error_detail")
public class TestDataErrorDetailDO {
    /**
     * 检测数据主键ID
     */
    @TableId(value = "test_data_error_detail_id")
    private Long testDataErrorDetailId;

    /**
     * 设备编号
     */
    @TableField(value = "sno")
    private String sno;

    /**
     * 诊所ID
     */
    @TableField(value = "term_clinic_id")
    private Long termClinicId;

    /**
     * 检测项目类型
     */
    @TableField(value = "strip_type_code")
    private Integer stripTypeCode;

    /**
     * 试纸批次
     */
    @TableField(value = "strip_batch")
    private Integer stripBatch;

    /**
     * 错误代码
     */
    @TableField(value = "error_code")
    private Integer errorCode;

    /**
     * 算法返回的结果描述
     */
    @TableField(value = "`result`")
    private String result;

    /**
     * 对应的图片id(阿里云oss)
     */
    @TableField(value = "pic_id")
    private String picId;

    /**
     * 桶块名称
     */
    @TableField(value = "bucket_name")
    private String bucketName;

    /**
     * 算法过程的图片ID
     */
    @TableField(value = "algo_pic_id")
    private String algoPicId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 逻辑删除
     */
    @TableField(value = "is_delete")
    private Boolean isDelete;
}